package com.jiawa.train.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.po.DailyTrain;
import com.jiawa.train.business.req.DailyTrainQueryReq;
import com.jiawa.train.business.req.DailyTrainSaveReq;
import com.jiawa.train.business.resp.DailyTrainQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.Date;

/**
 * <p>
 * 每日车次 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-07
 */
public interface IDailyTrainService extends IService<DailyTrain> {

    void saveDailyTrain(DailyTrainSaveReq req);

    PageResp<DailyTrainQueryResp> queryList(DailyTrainQueryReq req);

    void delete(Long id);

    void generate(Date date);
}
